package com.ks.app.product.service;
import java.util.List;

import com.ks.app.admin.util.Pager;
import com.ks.app.product.hibernate.KRoom;
import com.ks.app.product.hibernate.KRoomImage;
public interface KsroomService {    

//	public List<KsAd> GetKsAdList(String uiid, Pager pager);
	public List<KRoom> GetKRoomList(String roommerId,String roomid,String sd,String ed,String isshow, Pager pager,String type);
	public int addKRoom(KRoom room) ;
//	public List<KsAd> GetKsregAdList(String username, Pager pager);
	public List<KRoom> GetKRoom(String uiid);
	public List<KRoom> GetKRoom();
//	public String GetKsAdFileByIdlist(String uiid);
//	public String ToCreatetxt(String uiid,String username);
	public int insertPhoto(KRoomImage roomImage);
//	public long addKsAd(KsAd addKsad,List<KsAdImage> adimg,String username) ;
//	public long addKsAd(KsAd ksad);
//	public long updateKsAd(KsAd Ksad,List<KsAdImage> lstedit,List<KsAdImage> lstadd,String username) ;
	public int deleteKRoom(String idlist);
//	public int deleteKsregAd(String idlist,String username);
//	public List<KsAd> GetKsAdByUsername(String Username);
//	public List<KsAd> GetKsAdByUrl(String Url,String Uid);
//	public List<KsAdImage> GetKsAdimgByAdid(long id);
//	public List<KsAdImage> GetKsAdimgByImgid(long id);
//	public List<KsAdImage> GetKsAdimgByAdid_resolution(String id,String resolution);
//	public String getzipfilepath(String resolution,String smsc,String versionid,String isforce,String dirpath) ;
}
